package api

import (
	"api_online/data"
	"api_online/response"
	"net/http"
)

func ApiList(w http.ResponseWriter, r *http.Request) {
	get := r.URL.Query()
	fileName := get.Get("api")

	c := data.Cache.GetFileInfo(fileName)

	res, _ := response.SuccessRes(c)
	w.Write(res)
}


